@echo off
echo 编译InterviewQuestionToSQLSimple.java...
javac InterviewQuestionToSQLSimple.java
if %errorlevel% neq 0 (
    echo 编译失败
    pause
    exit /b %errorlevel%
)

echo 运行InterviewQuestionToSQLSimple...
java InterviewQuestionToSQLSimple
if %errorlevel% neq 0 (
    echo 运行失败
    pause
    exit /b %errorlevel%
)

echo 转换完成！
echo 生成的SQL文件位于generated_sql目录中
pause